home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
veterina.swf
/
scripts
/
frame_6
/
DoAction_2.as
next >
Wrap
Text File
|
2010-03-13
|
51KB
|
1,501 lines
function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
}
var §\x01§ = 189 + "\x04\x05"();
while(true)
{
if(eval("\x01") != 469)
{
if(eval("\x01") == 151)
{
set("\x01",eval("\x01") + 129);
break;
}
if(eval("\x01") == 276)
{
set("\x01",eval("\x01") + 342);
break;
}
if(eval("\x01") != 409)
{
if(eval("\x01") == 414)
{
set("\x01",eval("\x01") - 66);
if(eval(§§pop() or function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
})[§§constant(62)] <= 500)
{
eval(§§constant(17))[§§constant(15)]();
eval(§§constant(26))[§§constant(65)](81);
eval(§§constant(67))[§§constant(2)](1);
eval(§§constant(17))[§§constant(2)](3);
}
if(eval(§§constant(18))[§§constant(62)] >= 480 && eval(§§constant(18))[§§constant(62)] <= 500)
{
eval(§§constant(18))[§§constant(15)]();
eval(§§constant(27))[§§constant(65)](81);
eval(§§constant(68))[§§constant(2)](1);
eval(§§constant(18))[§§constant(2)](3);
}
if(eval(§§constant(23))[§§constant(62)] == 130)
{
eval(§§constant(61))[§§constant(2)](11);
eval(§§constant(89))[§§constant(15)]();
eval(§§constant(23))[§§constant(4)] = 0;
eval(§§constant(71))[§§constant(4)] = 1;
eval(§§constant(71))[§§constant(65)](16);
eval(§§constant(23))[§§constant(24)] = 1;
if(eval(§§constant(20)) == 4 && eval(§§constant(96))[§§constant(62)] == 300)
{
eval(§§constant(23))[§§constant(28)] = 1;
}
if(eval(§§constant(20)) == 5 && eval(§§constant(97))[§§constant(62)] == 300)
{
eval(§§constant(23))[§§constant(28)] = 1;
}
if(eval(§§constant(20)) == 6 && eval(§§constant(98))[§§constant(62)] == 300)
{
eval(§§constant(23))[§§constant(28)] = 1;
}
eval(§§constant(14))[§§constant(4)] = 0;
eval(§§constant(72))[§§constant(4)] = 0;
}
if(eval(§§constant(25))[§§constant(62)] == 130)
{
eval(§§constant(66))[§§constant(2)](11);
eval(§§constant(100))[§§constant(15)]();
eval(§§constant(25))[§§constant(4)] = 0;
eval(§§constant(84))[§§constant(4)] = 1;
eval(§§constant(84))[§§constant(65)](16);
eval(§§constant(25))[§§constant(24)] = 1;
if(eval(§§constant(20)) == 5 && eval(§§constant(97))[§§constant(62)] == 300)
{
eval(§§constant(25))[§§constant(28)] = 1;
}
if(eval(§§constant(20)) == 6 && eval(§§constant(98))[§§constant(62)] == 300)
{
eval(§§constant(25))[§§constant(28)] = 1;
}
eval(§§constant(16))[§§constant(4)] = 0;
eval(§§constant(85))[§§constant(4)] = 0;
}
if(eval(§§constant(26))[§§constant(62)] == 99)
{
eval(§§constant(67))[§§constant(2)](11);
eval(§§constant(106))[§§constant(15)]();
eval(§§constant(26))[§§constant(4)] = 0;
eval(§§constant(73))[§§constant(4)] = 1;
eval(§§constant(73))[§§constant(65)](16);
eval(§§constant(26))[§§constant(24)] = 1;
if(eval(§§constant(20)) == 3 && eval(§§constant(111))[§§constant(62)] == 300)
{
eval(§§constant(26))[§§constant(28)] = 1;
}
if(eval(§§constant(20)) == 6 && eval(§§constant(98))[§§constant(62)] == 300)
{
eval(§§constant(26))[§§constant(28)] = 1;
}
eval(§§constant(17))[§§constant(4)] = 0;
eval(§§constant(74))[§§constant(4)] = 0;
}
if(eval(§§constant(27))[§§constant(62)] == 99)
{
eval(§§constant(68))[§§constant(2)](11);
eval(§§constant(113))[§§constant(15)]();
eval(§§constant(27))[§§constant(4)] = 0;
eval(§§constant(86))[§§constant(4)] = 1;
eval(§§constant(86))[§§constant(65)](16);
eval(§§constant(27))[§§constant(24)] = 1;
if(eval(§§constant(20)) == 3 && eval(§§constant(111))[§§constant(62)] == 300)
{
eval(§§constant(27))[§§constant(28)] = 1;
}
if(eval(§§constant(20)) == 6 && eval(§§constant(98))[§§constant(62)] == 300)
{
eval(§§constant(27))[§§constant(28)] = 1;
}
eval(§§constant(18))[§§constant(4)] = 0;
eval(§§constant(87))[§§constant(4)] = 0;
}
if(eval(§§constant(89))[§§constant(62)] == 80)
{
switch(eval(§§constant(23))[§§constant(79)][0])
{
case 1:
§§constant(88)();
break;
case 2:
§§constant(92)();
break;
case 3:
§§constant(93)();
break;
case 4:
§§constant(94)();
}
}
if(eval(§§constant(89))[§§constant(62)] == 190)
{
switch(eval(§§constant(23))[§§constant(79)][1])
{
case 1:
§§constant(88)();
break;
case 2:
§§constant(92)();
break;
case 3:
§§constant(93)();
break;
case 4:
§§constant(94)();
}
}
if(eval(§§constant(89))[§§constant(62)] == 300)
{
switch(eval(§§constant(23))[§§constant(79)][2])
{
case 1:
§§constant(88)();
break;
case 2:
§§constant(92)();
break;
case 3:
§§constant(93)();
break;
case 4:
§§constant(94)();
}
}
if(eval(§§constant(89))[§§constant(62)] == 400)
{
§§constant(95)();
}
if(eval(§§constant(100))[§§constant(62)] == 100)
{
switch(eval(§§constant(25))[§§constant(79)][0])
{
case 1:
§§constant(99)();
break;
case 2:
§§constant(101)();
break;
case 3:
§§constant(102)();
break;
case 4:
§§constant(103)();
}
}
if(eval(§§constant(100))[§§constant(62)] == 200)
{
switch(eval(§§constant(25))[§§constant(79)][1])
{
case 1:
§§constant(99)();
break;
case 2:
§§constant(101)();
break;
case 3:
§§constant(102)();
break;
case 4:
§§constant(103)();
}
}
if(eval(§§constant(100))[§§constant(62)] == 300)
{
switch(eval(§§constant(25))[§§constant(79)][2])
{
case 1:
§§constant(99)();
break;
case 2:
§§constant(101)();
break;
case 3:
§§constant(102)();
break;
case 4:
§§constant(103)();
}
}
if(eval(§§constant(100))[§§constant(62)] == 400)
{
§§constant(104)();
}
if(eval(§§constant(106))[§§constant(62)] == 50)
{
switch(eval(§§constant(26))[§§constant(79)][0])
{
case 1:
§§constant(105)();
break;
case 2:
§§constant(107)();
break;
case 3:
§§constant(108)();
break;
case 4:
§§constant(109)();
}
}
if(eval(§§constant(106))[§§constant(62)] == 160)
{
switch(eval(§§constant(26))[§§constant(79)][1])
{
case 1:
§§constant(105)();
break;
case 2:
§§constant(107)();
break;
case 3:
§§constant(108)();
break;
case 4:
§§constant(109)();
}
}
if(eval(§§constant(106))[§§constant(62)] == 280)
{
switch(eval(§§constant(26))[§§constant(79)][2])
{
case 1:
§§constant(105)();
break;
case 2:
§§constant(107)();
break;
case 3:
§§constant(108)();
break;
case 4:
§§constant(109)();
}
}
if(eval(§§constant(106))[§§constant(62)] == 400)
{
§§constant(110)();
}
if(eval(§§constant(113))[§§constant(62)] == 120)
{
switch(eval(§§constant(27))[§§constant(79)][0])
{
case 1:
§§constant(112)();
break;
case 2:
§§constant(114)();
break;
case 3:
§§constant(115)();
break;
case 4:
§§constant(116)();
}
}
if(eval(§§constant(113))[§§constant(62)] == 220)
{
switch(eval(§§constant(27))[§§constant(79)][1])
{
case 1:
§§constant(112)();
break;
case 2:
§§constant(114)();
break;
case 3:
§§constant(115)();
break;
case 4:
§§constant(116)();
}
}
if(eval(§§constant(113))[§§constant(62)] == 320)
{
switch(eval(§§constant(27))[§§constant(79)][2])
{
case 1:
§§constant(112)();
break;
case 2:
§§constant(114)();
break;
case 3:
§§constant(115)();
break;
case 4:
§§constant(116)();
}
}
if(eval(§§constant(113))[§§constant(62)] == 400)
{
§§constant(117)();
}
if(eval("�\x032") == 7 || eval("�\x032") == 8 || eval("�\x032") == 1 && eval(§§constant(61))[§§constant(62)] != 8 && eval(§§constant(66))[§§constant(62)] != 8 && eval(§§constant(67))[§§constant(62)] != 8 && eval(§§constant(68))[§§constant(62)] != 8)
{
eval(§§constant(47))[§§constant(122)] = 50;
eval(§§constant(47))[§§constant(123)] = false;
}
else
{
eval(§§constant(124));
eval(§§constant(47))[§§constant(122)] = 100;
eval(§§constant(47))[§§constant(123)] = true;
}
if(eval(§§constant(125))[§§constant(126)](32) && eval(§§constant(47))[§§constant(123)])
{
§§constant(49)();
}
}
else
{
if(eval("\x01") == 598)
{
set("\x01",eval("\x01") - 525);
§§push(true);
continue;
}
if(eval("\x01") == 348)
{
set("\x01",eval("\x01") + 561);
continue;
}
if(eval("\x01") == 579)
{
set("\x01",eval("\x01") + 273);
if(function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
})
{
set("\x01",eval("\x01") - 600);
}
continue;
}
if(eval("\x01") == 314)
{
set("\x01",eval("\x01") - 187);
§§push("\x0f");
continue;
}
if(eval("\x01") == 783)
{
set("\x01",eval("\x01") - 469);
var §§pop() = function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
};
continue;
}
if(eval("\x01") == 771)
{
set("\x01",eval("\x01") + 138);
continue;
}
if(eval("\x01") == 127)
{
set("\x01",eval("\x01") + 305);
§§push(eval(function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
}));
continue;
}
if(eval("\x01") == 280)
{
set("\x01",eval("\x01") + 442);
continue;
}
if(eval("\x01") == 73)
{
set("\x01",eval("\x01") + 78);
if(function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
})
{
set("\x01",eval("\x01") + 129);
}
continue;
}
if(eval("\x01") == 564)
{
set("\x01",eval("\x01") + 34);
continue;
}
if(eval("\x01") == 722)
{
set("\x01",eval("\x01") + 61);
§§push("\x0f");
§§push(1);
continue;
}
if(eval("\x01") == 912)
{
set("\x01",eval("\x01") - 190);
continue;
}
if(eval("\x01") == 618)
{
set("\x01",eval("\x01") - 20);
continue;
}
if(eval("\x01") == 909)
{
set("\x01",eval("\x01") - 714);
§§push(true);
continue;
}
if(eval("\x01") == 195)
{
set("\x01",eval("\x01") + 81);
if(function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
})
{
set("\x01",eval("\x01") + 342);
}
continue;
}
if(eval("\x01") == 432)
{
set("\x01",eval("\x01") + 147);
§§push(!function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
});
continue;
}
if(eval("\x01") != 252)
{
if(eval("\x01") != 852)
{
if(eval("\x01") == 399)
{
set("\x01",eval("\x01") - 399);
break;
}
break;
}
set("\x01",eval("\x01") - 600);
continue;
}
set("\x01",eval("\x01") + 147);
stop();
need_scoreOK.selectable = false;
scoreOK.selectable = false;
statys1.stop();
statys2.stop();
statys3.stop();
statys4.stop();
dayoff.gotoAndStop(1);
weekk.gotoAndStop(Vet_Day);
Vet_DayGO = true;
pet1.ynesli = 0;
pet2.ynesli = 0;
pet3.ynesli = 0;
pet4.ynesli = 0;
pet1.ynesliZ = 0;
pet2.ynesliZ = 0;
pet3.ynesliZ = 0;
pet4.ynesliZ = 0;
action = 0;
trA = 0;
trB = 0;
trC = 0;
pet_m1._visible = 0;
pet_g1._visible = 0;
pet_m2._visible = 0;
pet_g2._visible = 0;
pet_m3._visible = 0;
pet_g3._visible = 0;
pet_m4._visible = 0;
pet_g4._visible = 0;
cel_x = veter._x;
cel_y = veter._y;
onMouseDown = function()
{
if(_root._ymouse > 80 && _root._ymouse < 510)
{
cel_x = _root._xmouse;
cel_y = _root._ymouse;
}
if(cel_y < 250)
{
cel_y = 250;
}
else if(cel_y > 350)
{
cel_y = 350;
}
if(cel_x < veter._x)
{
switch(action)
{
case 0:
veter.gotoAndStop(30);
break;
case 1:
veter.gotoAndStop(31);
break;
case 2:
veter.gotoAndStop(37);
break;
case 3:
veter.gotoAndStop(36);
break;
case 4:
veter.gotoAndStop(32);
break;
case 5:
veter.gotoAndStop(38);
break;
case 6:
veter.gotoAndStop(40);
break;
case 7:
veter.gotoAndStop(33);
break;
case 8:
veter.gotoAndStop(39);
}
}
else
{
switch(action)
{
case 0:
veter.gotoAndStop(50);
break;
case 1:
veter.gotoAndStop(51);
break;
case 2:
veter.gotoAndStop(57);
break;
case 3:
veter.gotoAndStop(56);
break;
case 4:
veter.gotoAndStop(52);
break;
case 5:
veter.gotoAndStop(58);
break;
case 6:
veter.gotoAndStop(60);
break;
case 7:
veter.gotoAndStop(53);
break;
case 8:
veter.gotoAndStop(59);
}
}
};
cancelala.onRelease = function()
{
freeVeter();
};
veter.onEnterFrame = function()
{
speed = 0.24;
this._x += (cel_x - this._x) * speed;
this._y += (cel_y - this._y) * speed;
trA = Math.abs(cel_x - veter._x);
trB = Math.abs(cel_y - veter._y);
trC = Math.sqrt(trA * trA + trB * trB);
if(trC < 12)
{
this.gotoAndStop(1);
switch(action)
{
case 1:
this.gotoAndStop(3);
break;
case 2:
this.gotoAndStop(14);
break;
case 3:
this.gotoAndStop(10);
break;
case 4:
this.gotoAndStop(5);
ob6._visible = 0;
break;
case 5:
this.gotoAndStop(22);
ob1._visible = 0;
break;
case 6:
this.gotoAndStop(27);
ob7._visible = 0;
break;
case 7:
this.gotoAndStop(8);
break;
case 8:
this.gotoAndStop(25);
break;
default:
ob6._visible = 1;
ob7._visible = 1;
ob1._visible = 1;
}
}
if(this._x < 50)
{
this._x = 50;
}
if(this._x > 600)
{
this._x = 600;
}
if(cel_y - this._y < 10)
{
speed = 0;
}
if(cel_x - this._x < 10)
{
speed = 0;
}
};
basin.onRelease = function()
{
if(action == 0)
{
action = 1;
}
};
chapi.onRelease = function()
{
if(action == 1)
{
action = 2;
}
};
viskas.onRelease = function()
{
if(action == 1)
{
action = 3;
}
};
aidkit.onRelease = function()
{
if(action == 0)
{
action = 4;
}
};
basket.onRelease = function()
{
if(action == 0)
{
action = 5;
}
if(action == 7 || action == 1)
{
action = 0;
}
if(action == 8)
{
action = 0;
}
};
pool.onRelease = function()
{
if(action == 0)
{
action = 6;
}
};
pet1.onEnterFrame = function()
{
if(mm_p1._currentframe == 7)
{
mm_p1.gotoAndStop(this.wish);
}
if(trC < 12)
{
switch(this.action)
{
case 1:
this.gotoAndStop(1);
mm_p1.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 2:
this.gotoAndPlay(173);
veter.gotoAndPlay(10);
mm_p1.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 3:
this.gotoAndPlay(240);
veter.gotoAndStop(1);
mm_p1.gotoAndStop(1);
score += 100;
this.action = 0;
}
}
if(this._currentframe == 237)
{
pet_m1._visible = 1;
}
if(this._currentframe == 340)
{
pet_g1._visible = 1;
}
};
pet1.onRelease = function()
{
if(pet1._currentframe < 110 || pet1._currentframe > 130)
{
if(action == 4 && mm_p1._currentframe == 9)
{
action = 7;
this.action = 1;
}
if(action == 3 && mm_p1._currentframe == 8)
{
action = 0;
this.action = 2;
}
if(action == 6 && mm_p1._currentframe == 10)
{
action = 0;
this.action = 3;
}
}
};
pet_m1.onRelease = function()
{
if(action == 0)
{
veter.gotoAndStop(20);
score += 100;
pet_m1._visible = 0;
action = 1;
}
};
pet_g1.onRelease = function()
{
if(action == 5)
{
veter.gotoAndStop(25);
score += 100;
pet_g1._visible = 0;
action = 8;
}
};
pet2.onEnterFrame = function()
{
if(mm_p2._currentframe == 7)
{
mm_p2.gotoAndStop(this.wish);
}
if(trC < 12)
{
switch(this.action)
{
case 1:
this.gotoAndStop(1);
mm_p2.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 2:
this.gotoAndPlay(173);
veter.gotoAndPlay(10);
mm_p2.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 3:
this.gotoAndPlay(240);
veter.gotoAndStop(1);
mm_p2.gotoAndStop(1);
score += 100;
this.action = 0;
}
}
if(this._currentframe == 237)
{
pet_m2._visible = 1;
}
if(this._currentframe == 340)
{
pet_g2._visible = 1;
}
};
pet2.onRelease = function()
{
if(pet2._currentframe < 110 || pet2._currentframe > 130)
{
if(action == 4 && mm_p2._currentframe == 9)
{
action = 7;
this.action = 1;
}
if(action == 3 && mm_p2._currentframe == 8)
{
action = 0;
this.action = 2;
}
if(action == 6 && mm_p2._currentframe == 10)
{
action = 0;
this.action = 3;
}
}
};
pet_m2.onRelease = function()
{
if(action == 0)
{
veter.gotoAndStop(20);
score += 100;
pet_m2._visible = 0;
action = 1;
}
};
pet_g2.onRelease = function()
{
if(action == 5)
{
veter.gotoAndStop(25);
score += 100;
pet_g2._visible = 0;
action = 8;
}
};
pet3.onEnterFrame = function()
{
if(mm_p3._currentframe == 7)
{
mm_p3.gotoAndStop(this.wish);
}
if(trC < 12)
{
switch(this.action)
{
case 1:
this.gotoAndStop(1);
mm_p3.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 2:
this.gotoAndPlay(142);
veter.gotoAndPlay(10);
mm_p3.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 3:
this.gotoAndPlay(209);
veter.gotoAndStop(1);
mm_p3.gotoAndStop(1);
score += 100;
this.action = 0;
}
}
if(this._currentframe == 206)
{
pet_m3._visible = 1;
}
if(this._currentframe == 295)
{
pet_g3._visible = 1;
}
};
pet3.onRelease = function()
{
if(pet3._currentframe < 80 || pet3._currentframe > 100)
{
if(action == 4 && mm_p3._currentframe == 9)
{
action = 7;
this.action = 1;
}
if(action == 2 && mm_p3._currentframe == 8)
{
action = 0;
this.action = 2;
}
if(action == 6 && mm_p3._currentframe == 10)
{
action = 0;
this.action = 3;
}
}
};
pet_m3.onRelease = function()
{
if(action == 0)
{
veter.gotoAndStop(20);
score += 100;
pet_m3._visible = 0;
action = 1;
}
};
pet_g3.onRelease = function()
{
if(action == 5)
{
veter.gotoAndStop(25);
score += 100;
pet_g3._visible = 0;
action = 8;
}
};
pet4.onEnterFrame = function()
{
if(mm_p4._currentframe == 7)
{
mm_p4.gotoAndStop(this.wish);
}
if(trC < 12)
{
switch(this.action)
{
case 1:
this.gotoAndStop(1);
mm_p4.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 2:
this.gotoAndPlay(142);
veter.gotoAndPlay(10);
mm_p4.gotoAndStop(1);
score += 100;
this.action = 0;
break;
case 3:
this.gotoAndPlay(209);
veter.gotoAndStop(1);
mm_p4.gotoAndStop(1);
score += 100;
this.action = 0;
}
}
if(this._currentframe == 206)
{
pet_m4._visible = 1;
}
if(this._currentframe == 295)
{
pet_g4._visible = 1;
}
};
pet4.onRelease = function()
{
if(pet4._currentframe < 80 || pet4._currentframe > 100)
{
if(action == 4 && mm_p4._currentframe == 9)
{
action = 7;
this.action = 1;
}
if(action == 2 && mm_p4._currentframe == 8)
{
action = 0;
this.action = 2;
}
if(action == 6 && mm_p4._currentframe == 10)
{
action = 0;
this.action = 3;
}
}
};
pet_m4.onRelease = function()
{
if(action == 0)
{
veter.gotoAndStop(20);
score += 100;
pet_m4._visible = 0;
action = 1;
}
};
pet_g4.onRelease = function()
{
if(action == 5)
{
veter.gotoAndStop(25);
score += 100;
pet_g4._visible = 0;
action = 8;
}
};
switch(Vet_Day)
{
case 1:
need_score = 1000;
pet1.tip = 1;
petq1.tip = pet1.tip;
face1.gotoAndStop(pet1.tip);
pet3.tip = 1;
petq3.tip = pet3.tip;
face3.gotoAndStop(pet3.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
petq2._visible = 0;
statys2._visible = 0;
face2._visible = 0;
petq4._visible = 0;
statys4._visible = 0;
face4._visible = 0;
break;
case 2:
need_score = 4000;
pet1.tip = 2;
petq1.tip = pet1.tip;
face1.gotoAndStop(pet1.tip);
pet2.tip = 1;
petq2.tip = pet2.tip;
face2.gotoAndStop(pet2.tip);
pet4.tip = 2;
petq4.tip = pet4.tip;
face4.gotoAndStop(pet4.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
petq3._visible = 0;
statys3._visible = 0;
face3._visible = 0;
petq4._visible = 0;
statys4._visible = 0;
face4._visible = 0;
break;
case 3:
need_score = 7000;
pet2.tip = 3;
petq2.tip = pet2.tip;
face2.gotoAndStop(pet2.tip);
pet3.tip = 1;
petq3.tip = pet3.tip;
face3.gotoAndStop(pet3.tip);
pet4.tip = 3;
petq4.tip = pet4.tip;
face4.gotoAndStop(pet4.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
petq1._visible = 0;
statys1._visible = 0;
face1._visible = 0;
petq4._visible = 0;
statys4._visible = 0;
face4._visible = 0;
break;
case 4:
need_score = 10000;
pet1.tip = 3;
petq1.tip = pet1.tip;
face1.gotoAndStop(pet1.tip);
pet2.tip = 2;
petq2.tip = pet2.tip;
face2.gotoAndStop(pet2.tip);
pet3.tip = 3;
petq3.tip = pet3.tip;
face3.gotoAndStop(pet3.tip);
pet4.tip = 2;
petq4.tip = pet4.tip;
face4.gotoAndStop(pet4.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
petq2._visible = 0;
statys2._visible = 0;
face2._visible = 0;
petq3._visible = 0;
statys3._visible = 0;
face3._visible = 0;
petq4._visible = 0;
statys4._visible = 0;
face4._visible = 0;
break;
case 5:
need_score = 14000;
pet1.tip = 2;
petq1.tip = pet1.tip;
face1.gotoAndStop(pet1.tip);
pet2.tip = 1;
petq2.tip = pet2.tip;
face2.gotoAndStop(pet2.tip);
pet3.tip = 2;
petq3.tip = pet3.tip;
face3.gotoAndStop(pet3.tip);
pet4.tip = 1;
petq4.tip = pet4.tip;
face4.gotoAndStop(pet4.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
break;
case 6:
need_score = 18000;
pet1.tip = 3;
petq1.tip = pet1.tip;
face1.gotoAndStop(pet1.tip);
pet2.tip = 2;
petq2.tip = pet2.tip;
face2.gotoAndStop(pet2.tip);
pet3.tip = 1;
petq3.tip = pet3.tip;
face3.gotoAndStop(pet3.tip);
pet4.tip = 2;
petq4.tip = pet4.tip;
face4.gotoAndStop(pet4.tip);
j = 1;
while(j <= 4)
{
_root["pet" + j].ar = [1,2,3,4];
_root["pet" + j].pro = [];
i = 1;
while(i <= 3)
{
_root["pet" + j].f = random(_root["pet" + j].ar.length);
_root["pet" + j].pro[i - 1] = _root["pet" + j].ar[_root["pet" + j].f];
_root["pet" + j].ar.splice(_root["pet" + j].f,1);
i++;
}
j++;
}
pet1._visible = 0;
pet2._visible = 0;
pet3._visible = 0;
pet4._visible = 0;
}
cat1_eat = function()
{
live1_1.stop();
mm_p1.gotoAndPlay(3);
pet1.wish = 8;
statys1.play();
live1_1.nextFrame();
};
cat1_sret = function()
{
pet1.gotoAndPlay(312);
};
cat1_swim = function()
{
live1_1.stop();
mm_p1.gotoAndPlay(3);
pet1.wish = 10;
statys1.play();
live1_1.nextFrame();
};
cat1_ill = function()
{
live1_1.stop();
mm_p1.gotoAndPlay(3);
pet1.wish = 9;
pet1.gotoAndStop(133);
statys1.play();
live1_1.nextFrame();
};
cat1_goaway = function()
{
live1_1.stop();
pet1._visible = 0;
pet1.ynesli = 1;
if(Vet_Day == 4 && day4_topo._currentframe == 300)
{
pet1.ynesliZ = 1;
}
if(Vet_Day == 5 && day5_topo._currentframe == 300)
{
pet1.ynesliZ = 1;
}
if(Vet_Day == 6 && day6_topo._currentframe == 300)
{
pet1.ynesliZ = 1;
}
statys1._visible = 0;
face1._visible = 0;
mm_p1.gotoAndStop(11);
score += 1000 - statys1._currentframe;
petq1._visible = 1;
petq1.gotoAndPlay(52);
live1_1.nextFrame();
};
cat2_eat = function()
{
live1_2.stop();
mm_p2.gotoAndPlay(3);
pet2.wish = 8;
statys2.play();
live1_2.nextFrame();
};
cat2_sret = function()
{
pet2.gotoAndPlay(312);
};
cat2_swim = function()
{
live1_2.stop();
mm_p2.gotoAndPlay(3);
pet2.wish = 10;
statys2.play();
live1_2.nextFrame();
};
cat2_ill = function()
{
live1_2.stop();
mm_p2.gotoAndPlay(3);
pet2.wish = 9;
pet2.gotoAndStop(133);
statys2.play();
live1_2.nextFrame();
};
cat2_goaway = function()
{
live1_2.stop();
pet2._visible = 0;
pet2.ynesli = 1;
if(Vet_Day == 5 && day5_topo._currentframe == 300)
{
pet2.ynesliZ = 1;
}
if(Vet_Day == 6 && day6_topo._currentframe == 300)
{
pet2.ynesliZ = 1;
}
statys2._visible = 0;
face2._visible = 0;
mm_p2.gotoAndStop(11);
score += 1000 - statys2._currentframe;
petq2._visible = 1;
petq2.gotoAndPlay(52);
live1_2.nextFrame();
};
dog1_eat = function()
{
live1_3.stop();
mm_p3.gotoAndPlay(3);
pet3.wish = 8;
statys3.play();
live1_3.nextFrame();
};
dog1_sret = function()
{
pet3.gotoAndPlay(281);
};
dog1_swim = function()
{
live1_3.stop();
mm_p3.gotoAndPlay(3);
pet3.wish = 10;
statys3.play();
live1_3.nextFrame();
};
dog1_ill = function()
{
live1_3.stop();
mm_p3.gotoAndPlay(3);
pet3.wish = 9;
pet3.gotoAndStop(110);
statys3.play();
live1_3.nextFrame();
};
dog1_goaway = function()
{
live1_3.stop();
pet3._visible = 0;
pet3.ynesli = 1;
if(Vet_Day == 3 && day3_topo._currentframe == 300)
{
pet3.ynesliZ = 1;
}
if(Vet_Day == 6 && day6_topo._currentframe == 300)
{
pet3.ynesliZ = 1;
}
statys3._visible = 0;
face3._visible = 0;
mm_p3.gotoAndStop(11);
score += 1000 - statys3._currentframe;
petq3._visible = 1;
petq3.gotoAndPlay(52);
live1_3.nextFrame();
};
dog2_eat = function()
{
live1_4.stop();
mm_p4.gotoAndPlay(3);
pet4.wish = 8;
statys4.play();
live1_4.nextFrame();
};
dog2_sret = function()
{
pet4.gotoAndPlay(281);
};
dog2_swim = function()
{
live1_4.stop();
mm_p4.gotoAndPlay(3);
pet4.wish = 10;
statys4.play();
live1_4.nextFrame();
};
dog2_ill = function()
{
live1_4.stop();
mm_p4.gotoAndPlay(3);
pet4.wish = 9;
pet4.gotoAndStop(110);
statys4.play();
live1_4.nextFrame();
};
dog2_goaway = function()
{
live1_4.stop();
pet4._visible = 0;
pet4.ynesli = 1;
if(Vet_Day == 3 && day3_topo._currentframe == 300)
{
pet4.ynesliZ = 1;
}
if(Vet_Day == 6 && day6_topo._currentframe == 300)
{
pet4.ynesliZ = 1;
}
statys4._visible = 0;
face4._visible = 0;
mm_p4.gotoAndStop(11);
score += 1000 - statys4._currentframe;
petq4._visible = 1;
petq4.gotoAndPlay(52);
live1_4.nextFrame();
};
§§push("onEnterFrame");
}
set(§§pop(),function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
});
}
set("\x01",eval("\x01") + 5);
}
set("\x01",eval("\x01") - 60);
§§push(true);
continue;
if(function §\x04\x05§()
{
set("\x03",56 % 511 * 5);
return eval("\x03");
})
{
set("\x01",eval("\x01") - 66);
}
}